﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SKU.aspx.cs" Inherits="WMS6.Web.Configuration.SKU"
    meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>SKU</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>
    <script src="../Js/Verification.js" type="text/javascript"></script>
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
    <script src="../Js/checkbox.js" type="text/javascript"></script>
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newSku()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "Sku.aspx?from="+ escape(from);
            return false;
        }
        
        //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
                __doPostBack("txtOwnerID_TextChanged","");
            }
        }
        
        //弹出窗口选择储区
        function selectZone()
        {
            var rtnValue = popModalWindow('../Configuration/ZoneQuery.aspx?action=txtZoneID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtZoneID").focus();
                document.getElementById("txtZoneID").value = rtnValue;
            }
        }
        
        //弹出窗口选择货位
        function selectLocation(obj)
        {
            var rtnValue = popModalWindow('../Configuration/LocationQuery.aspx?action='+escape(obj.id.toString()),'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(obj.id.toString()).focus();
                document.getElementById(obj.id.toString()).value = rtnValue;
            }
        }
        
        //弹出窗口选择包装
        function selectPack()
        {
            var rtnValue = popModalWindow('../Configuration/PackQuery.aspx?action=txtPack','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtPack").focus();
                document.getElementById("txtPack").value = rtnValue;
            }
        }
        
        //弹出窗口货品类型
        function selectSkuClass() {
            var rtnValue = popModalWindow('../Configuration/SkuClassQuery.aspx?action=txtSkuClass&ownerid=' + escape(document.getElementById("txtOwnerID").value), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSkuClass").focus();
                document.getElementById("txtSkuClass").value = rtnValue;
            }
        }
        
        //弹出窗口装箱组
        function selectCartonGroup()
        {
            var rtnValue = popModalWindow('../Configuration/CartonQuery.aspx?action=txtCartonGroup','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtCartonGroup").focus();
                document.getElementById("txtCartonGroup").value = rtnValue;
            }
        } 
        
       //弹出窗口循环盘点级别
        function selectCycleCountClass()
        {
            var rtnValue = popModalWindow('../Configuration/CycleCountClassQuery.aspx?action=txtABC','dialogWidth=1000px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtABC").focus();
                document.getElementById("txtABC").value = rtnValue;
            }
        } 
        
        function selectLotTemplate()
        {
            var rtnValue = popModalWindow('../Configuration/LotTemplateQuery.aspx?action=txtLotTemplate','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtLotTemplate").focus();
                document.getElementById("txtLotTemplate").value = rtnValue;
            }
        }
        
        function  CaluCube()
        {
            var Length = document.getElementById("txtLength").value;
            var Width = document.getElementById("txtWidth").value;
            var Height = document.getElementById("txtHeight").value;
            
            document.getElementById("txtCube").value = (Length*Width*Height).toFixed(4);
        }
        
        //弹出窗口选择价目表
        function selectTariff() {
            var rtnValue = popModalWindow('../Billing/TariffQuery.aspx?action=txtTariffID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById("txtTariffID").focus();
                document.getElementById("txtTariffID").value = rtnValue;
            }
        }
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
            else if(code == "F2110_003")
            {
                if(confirm('<%=GetGlobalMsgResource("F2110_003") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
            else if(code == "F2110_024")
            {
                if(confirm('<%=GetGlobalMsgResource("F2110_024") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }

        }
    </script>

</head>
<body>
    <form id="F2061" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblSku" runat="server" CssClass="label_header" Text="货品" meta:resourcekey="lblSku"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>"
                            Enabled="False" OnClick="btnGoBack_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"
                            Enabled="False" AccessKey="n" OnClientClick="newSku();" />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>"
                            Enabled="False" AccessKey="s" OnClick="btnSave_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>"
                            Enabled="False" AccessKey="d" OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;"
                            OnClick="btnDelete_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnCopy" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCopy%>"
                            Enabled="False" AccessKey="c" OnClick="btnCopy_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,7)"
                        id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">基本信息</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL2">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,7)"
                        id="divM2">
                        <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">处理</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR2">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL3">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,7)"
                        id="divM3">
                        <asp:Label ID="one3" CssClass="navigationlabel" runat="server" meta:resourcekey="one3">别名</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR3">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL4">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',4,7)"
                        id="divM4">
                        <asp:Label ID="one4" CssClass="navigationlabel" runat="server" meta:resourcekey="one4">替代料</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR4">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL5">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',5,7)"
                        id="divM5">
                        <asp:Label ID="one5" CssClass="navigationlabel" runat="server" meta:resourcekey="one5">拣货货位</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR5">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL6">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',6,7)"
                        id="divM6">
                        <asp:Label ID="one6" CssClass="navigationlabel" runat="server" meta:resourcekey="one6">条码</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR6">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL7">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',7,7)"
                        id="divM7">
                        <asp:Label ID="one7" CssClass="navigationlabel" runat="server" meta:resourcekey="one7">自定义字段</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR7">
                        </div>
                    </div>
                </div>
                <div id="div_content" >
                    <div id="con_one_1"  style="display: block;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblSkuID" runat="server" CssClass="label" Text="货品代码" meta:resourcekey="lblSkuID"></asp:Label><span
                                        class="must_input">*</span>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label><span
                                        class="must_input">*</span>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblSkuClass" runat="server" CssClass="label" Text="货品类型" meta:resourcekey="lblSkuClass"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtSkuID" runat="server" CssClass="textbox" meta:resourcekey="txtSkuID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" Width="150px"
                                        OnTextChanged="txtOwnerID_TextChanged" meta:resourcekey="txtOwnerID"></asp:TextBox><img
                                            src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner();" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtSkuClass" runat="server" CssClass="textbox" meta:resourcekey="txtSkuClass"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSkuClass();" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkShelfLifeIndicator" runat="server" CssClass="checkbox" Text="保质期控制"
                                        meta:resourcekey="chkShelfLifeIndicator" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" meta:resourcekey="lblDescr"></asp:Label>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Label ID="lblHazmatCode" runat="server" CssClass="label" Text="危险品代码" meta:resourcekey="lblHazmatCode"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblShelfLifeCodeType" runat="server" CssClass="label" Text="保质期类型"
                                        meta:resourcekey="lblShelfLifeCodeType"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox"
                                        meta:resourcekey="txtDescr"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtHazmatCode" runat="server" CssClass="textbox"
                                        meta:resourcekey="txtHazmatCode"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlShelfLifeCodeType" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlShelfLifeCodeType">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblDescr2" runat="server" CssClass="label" Text="描述2" meta:resourcekey="lblDescr2"></asp:Label>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Label ID="lblCustomSkuNo" runat="server" CssClass="label" Text="海关代码" meta:resourcekey="lblCustomSkuNo"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblShelfLifeOnReceiving" runat="server" CssClass="label" Text="入库保质期天数"
                                        meta:resourcekey="lblShelfLifeOnReceiving"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtDescr2" runat="server" CssClass="largetextbox" 
                                        meta:resourcekey="txtDescr2"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCustomSkuNo" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCustomSkuNo"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtShelfLifeOnReceiving" runat="server" CssClass="textbox" MaxLength=5
                                        meta:resourcekey="txtShelfLifeOnReceiving"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblPack" runat="server" CssClass="label" Text="包装代码" meta:resourcekey="lblPack"></asp:Label><font
                                        color="red">*</font>
                                </td>
                                <td>
                                    <asp:Label ID="lblCartonGroup" runat="server" CssClass="label" Text="装箱组" meta:resourcekey="lblCartonGroup"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblOriginCountry" runat="server" CssClass="label" Text="原产国" meta:resourcekey="lblOriginCountry"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblShelfLife" runat="server" CssClass="label" Text="出库保质期天数" meta:resourcekey="lblShelfLife"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtPack" runat="server" CssClass="textbox"   meta:resourcekey="txtPack"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectPack();" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCartonGroup" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCartonGroup"></asp:TextBox><img src="../Images/icon_find.gif"
                                            alt="select one item" class="img" onclick="selectCartonGroup();" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtOriginCountry" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOriginCountry"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtShelfLife" runat="server" CssClass="textbox" MaxLength=5  meta:resourcekey="txtShelfLife"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblLotTemplate" runat="server" CssClass="label" Text="批次模板" meta:resourcekey="lblLotTemplate"></asp:Label><font
                                        color="red">*</font>
                                </td>
                                <td>
                                    <asp:Label ID="lblTariffID" runat="server" CssClass="label" Text="价目表" meta:resourcekey="lblTariffID"></asp:Label><span
                                        class="must_input">*</span>
                                </td>
                                <td>
                                </td>
                                <td>
                                    <asp:Label ID="lblDaysToExpire" runat="server" CssClass="label" Text="保质期天数" meta:resourcekey="lblDaysToExpire"></asp:Label>
                                </td>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtLotTemplate" runat="server" CssClass="textbox" 
                                            meta:resourcekey="txtLotTemplate"></asp:TextBox><img src="../Images/icon_find.gif"
                                                alt="select one item" class="img" onclick="selectLotTemplate();" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtTariffID" runat="server" CssClass="textbox"  meta:resourcekey="txtTariffID"></asp:TextBox><img
                                            src="../Images/icon_find.gif" id="img1" runat="server" alt="select one item"
                                            class="img" onclick="selectTariff();" />
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtDaysToExpire" runat="server" CssClass="textbox" MaxLength=5  meta:resourcekey="txtDaysToExpire"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr style="height: 20px;">
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblLength" runat="server" CssClass="label" Text="长" meta:resourcekey="lblLength"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblCube" runat="server" CssClass="label" Text="体积" meta:resourcekey="lblCube"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSize" runat="server" CssClass="label" Text="尺码" meta:resourcekey="lblSize"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblCostPrice" runat="server" CssClass="label" Text="成本价格" meta:resourcekey="lblCostPrice"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtLength" runat="server" CssClass="textbox"  onblur="Javascript:dataVer._Is123OrX(this,'lblMsg');CaluCube();"
                                            meta:resourcekey="txtLength"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtCube" runat="server" CssClass="textbox"  meta:resourcekey="txtCube"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSize" runat="server" CssClass="textbox"  meta:resourcekey="txtSize"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtCostPrice" runat="server" CssClass="textbox"  meta:resourcekey="txtCostPrice"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblWidth" runat="server" CssClass="label" Text="宽" meta:resourcekey="lblWidth"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblNetWeight" runat="server" CssClass="label" Text="净重" meta:resourcekey="lblNetWeight"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblColor" runat="server" CssClass="label" Text="颜色" meta:resourcekey="lblColor"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSalePrice" runat="server" CssClass="label" Text="销售价格" meta:resourcekey="lblSalePrice"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtWidth" runat="server" CssClass="textbox"  onblur="Javascript:dataVer._Is123OrX(this,'lblMsg');CaluCube();"
                                            meta:resourcekey="txtWidth"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtNetWeight" runat="server" CssClass="textbox" meta:resourcekey="txtNetWeight"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtColor" runat="server" CssClass="textbox" meta:resourcekey="txtColor"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSalePrice" runat="server" CssClass="textbox" meta:resourcekey="txtSalePrice"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblHeight" runat="server" CssClass="label" Text="高" meta:resourcekey="lblHeight"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblGrossWeight" runat="server" CssClass="label" Text="毛重" meta:resourcekey="lblGrossWeight"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblStyle" runat="server" CssClass="label" Text="型号" meta:resourcekey="lblStyle"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblNetPrice" runat="server" CssClass="label" Text="净价" meta:resourcekey="lblNetPrice"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtHeight" runat="server" CssClass="textbox" onblur="Javascript:dataVer._Is123OrX(this,'lblMsg');CaluCube();"
                                            meta:resourcekey="txtHeight"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtGrossWeight" runat="server" CssClass="textbox" 
                                            meta:resourcekey="txtGrossWeight"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtStyle" runat="server" CssClass="textbox" meta:resourcekey="txtStyle"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtNetPrice" runat="server" CssClass="textbox" meta:resourcekey="txtNetPrice"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblTareWeight" runat="server" CssClass="label" Text="皮重" meta:resourcekey="lblTareWeight"></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtTareWeight" runat="server" CssClass="textbox" 
                                            meta:resourcekey="txtTareWeight"></asp:TextBox>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chkIsSalePromption" runat="server" CssClass="checkbox" Text="促销品"
                                            meta:resourcekey="chkIsSalePromption" />
                                    </td>
                                </tr>
                                <tr style="height: 10px;">
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" Text="启用" Checked="True"
                                            meta:resourcekey="chkIsActive" />
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 10px;">
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblSkuGroup" runat="server" CssClass="label" Text="货品组" ></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblTransportMode" runat="server" CssClass="label" Text="运输方式" ></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblReOrderQty" runat="server" CssClass="label" Text="最小订货量" ></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtSkuGroup" runat="server" CssClass="textbox" ></asp:TextBox>
                                    </td>
                                    <td>
                                     <asp:DropDownList ID="ddlTransportMode" runat="server" CssClass="mediumselectbox" >
                                        </asp:DropDownList>
                                    </td>
                                    <td>
                                       
                                        <asp:TextBox ID="txtReOrderQty" runat="server" CssClass="textbox"  onblur="Javascript:dataVer._Is123OrX(this,'lblMsg');"></asp:TextBox>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblSkuGroup2" runat="server" CssClass="label" Text="货品组2" ></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblFreightClass" runat="server" CssClass="label" Text="货运类别" ></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtSkuGroup2" runat="server" CssClass="textbox"
                                         ></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlFreightClass" runat="server" CssClass="mediumselectbox" >
                                        </asp:DropDownList>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                  <tr style="height: 10px;">
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                    <td width="180">
                                    </td>
                                </tr>
                        </table>
                    </div>
                    <div id="con_one_2"  style="display: none;" >
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                       <asp:Label ID="lblReceiptValidationTemplate" runat="server" CssClass="label" Text="收货验证模板"
                                        ></asp:Label>
                                    
                                </td>
                                <td width="180">
                                  <asp:Label ID="lblReceiptValidationRuleID" runat="server" CssClass="label" Text="收货验证规则"
                                        meta:resourcekey="lblReceiptValidationRuleID"></asp:Label>
                                    
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblZoneID" runat="server" CssClass="label" Text="上架区" meta:resourcekey="lblZoneID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblMinQty" runat="server" CssClass="label" Text="最小库存" meta:resourcekey="lblMinQty"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtReceiptValidationTemplate" runat="server" CssClass="textbox" ></asp:TextBox>
                                </td>
                                <td>
                                      <%--<asp:TextBox ID="txtReceiptValidationRuleID" runat="server" CssClass="textbox" meta:resourcekey="txtReceiptValidationRuleID"></asp:TextBox>--%>
                                      <asp:DropDownList ID="ddlReciptValidationID" runat="server" CssClass="mediumselectbox" ></asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtZoneID" runat="server" CssClass="textbox" meta:resourcekey="txtZoneID"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="imgZoneID" runat="server" alt="select one item"
                                        class="img" onclick="selectZone();" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtMinQty" runat="server" CssClass="textbox" meta:resourcekey="txtMinQty"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblDefaultInUom" runat="server" CssClass="label" Text="默认收货单位" meta:resourcekey="lblDefaultInUom"></asp:Label>
                                </td>
                                <td width="180">
                               <asp:Label ID="lblPutawayRuleID" runat="server" CssClass="label" Text="上架规则" 
meta:resourcekey="lblPutawayRuleID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblPutawayLoc" runat="server" CssClass="label" Text="上架货位" meta:resourcekey="lblPutawayLoc"></asp:Label><font
                                        color="red">*</font>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblMaxQty" runat="server" CssClass="label" Text="最大库存" meta:resourcekey="lblMaxQty"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtDefaultInUom" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtDefaultInUom"></asp:TextBox>
                                </td>
                                <td>
                                   <asp:DropDownList ID="ddlPutawayRuleID" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlPutawayRuleID">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPutawayLoc" runat="server" CssClass="textbox"
                                        meta:resourcekey="txtPutawayLoc"></asp:TextBox><img src="../Images/icon_find.gif"
                                            id="imgPutawayLoc" runat="server" alt="select one item" class="img" onclick="selectLocation(txtPutawayLoc);" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtMaxQty" runat="server" CssClass="textbox"  meta:resourcekey="txtMaxQty"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblDefaultOutUom" runat="server" CssClass="label" Text="默认发货单位" meta:resourcekey="lblDefaultOutUom"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblPreallocateRuleID" runat="server" CssClass="label" Text="预分配规则"
                                        meta:resourcekey="lblPreallocateRuleID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblReceiptInspectionLoc" runat="server" CssClass="label" Text="入库质检货位"
                                        meta:resourcekey="lblReceiptInspectionLoc"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lbRelOrderPoint" runat="server" CssClass="label" Text="订货点" meta:resourcekey="lblOrderPoint"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtDefaultOutUom" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtDefaultOutUom"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlPreallocateRuleID" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlPreallocateRuleID">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtReceiptInspectionLoc" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtReceiptInspectionLoc"></asp:TextBox><img src="../Images/icon_find.gif"
                                            id="imgReceiptInspectionLoc" runat="server" alt="select one item" class="img"
                                            onclick="selectLocation(txtReceiptInspectionLoc);" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtReOrderPoint" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderPoint"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblRFDefaultPack" runat="server" CssClass="label" Text="RF默认包装" meta:resourcekey="lblRFDefaultPack"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblAllocateRuleID" runat="server" CssClass="label" Text="分配规则" meta:resourcekey="lblAllocateRuleID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblQCLocOut" runat="server" CssClass="label" Text="出库质检货位" meta:resourcekey="lblQCLocOut"></asp:Label>
                                </td>
                                <td width="180">
     <asp:Label ID="lblCalculatePutawayLocation" runat="server" CssClass="label" Text="计算上架时机"
                                        meta:resourcekey="lblCalculatePutawayLocation"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtRFDefaultPack" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtRFDefaultPack"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlAllocateRuleID" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlAllocateRuleID">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtQCLocOut" runat="server" CssClass="textbox"  meta:resourcekey="txtQCLocOut"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" id="imgQCLocOut"
                                        runat="server" onclick="selectLocation(txtQCLocOut);" />
                                </td>
                                <td>
                                <asp:DropDownList ID="ddlCalculatePutawayLocation" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlCalculatePutawayLocation">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblRotationRuleID" runat="server" CssClass="label" Text="周转规则" meta:resourcekey="lblRotationRuleID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblReturnsLoc" runat="server" CssClass="label" Text="退货接收货位" meta:resourcekey="lblReturnsLoc"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlRotationRuleID" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlRotationRuleID">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtReturnsLoc" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtReturnsLoc"></asp:TextBox><img src="../Images/icon_find.gif"
                                            alt="select one item" class="img" id="imgReturnsLoc" runat="server" onclick="selectLocation(txtReturnsLoc);" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                    <b>
                                        <asp:Label ID="lblCycleCount" runat="server" CssClass="label" Text="循环盘点" meta:resourcekey="lblCycleCount"></asp:Label></b>
                                </td>
                                <td>
                                    <b>
                                        <asp:Label ID="lblQC" runat="server" CssClass="label" Text="质检" meta:resourcekey="lblQC"></asp:Label></b>
                                </td>
                                <td>
                                    <b>
                                        <asp:Label ID="lblCrossdock" runat="server" CssClass="label" Text="交叉转运" meta:resourcekey="lblCrossdock"></asp:Label></b>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblABC" runat="server" CssClass="label" Text="循环盘点级别" meta:resourcekey="lblABC"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtABC" runat="server" CssClass="textbox" meta:resourcekey="txtABC"></asp:TextBox><img src="../Images/icon_find.gif"
                                            alt="select one item" class="img" onclick="selectCycleCountClass();" />
                                </td>
                                <td>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkOpportunistic" runat="server" CssClass="checkbox" Text="机会性转运"
                                        meta:resourcekey="chkOpportunistic" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblLastCycleCount" runat="server" CssClass="label" Text="上次循环盘点日期"
                                        meta:resourcekey="lblLastCycleCount"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtLastCycleCount" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLastCycleCount"></asp:TextBox><img src="../Images/calendar.gif"
                                            class="img" alt="请选择日期" id="imgLastCycleCount" runat="server" onclick="setday(this,txtLastCycleCount)" />
                                </td>
                                <td>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkMoveable" runat="server" CssClass="checkbox" Text="可搬运的" meta:resourcekey="chkMoveable" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblCCDiscrepanCyrule" runat="server" CssClass="label" Text="循环盘点差异处理规则"
                                        meta:resourcekey="lblCCDiscrepanCyrule"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                        <asp:DropDownList ID="ddlCCDiscrepanCyrule" runat="server" CssClass="mediumselectbox"></asp:DropDownList>
                                </td>
                                <td>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkCheckProduceDate" runat="server" CssClass="checkbox" Text="校验生产日期/保质期"
                                        meta:resourcekey="chkCheckProduceDate" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_3" style="display: none; overflow-x: auto; overflow-y: hidden;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Button ID="btnAddAlternateSku" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnAddDetail%>"
                                                    OnClick="btnAddAlternateSku_Click" Enabled="False" />
                                            </td>
                                            <td>
                                                <asp:Button ID="btnDeleteAlternateSku" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDeleteDetail%>"
                                                    OnClientClick="javascript:if(confirmMsg('F2110_003')) return true; else return false;"
                                                    OnClick="btnDeleteAlternateSku_Click" Enabled="False" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div style=" height:auto; margin-bottom:30px;">
                                        <asp:GridView ID="gvAlternateSku" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                            CssClass="gridview" OnRowDataBound="gvAlternateSku_RowDataBound" DataKeyNames="OwnerID,SkuID,AltSkuID"
                                            AllowPaging="True" OnPageIndexChanging="gvAlternateSku_PageIndexChanging" OnSorting="gvAlternateSku_Sorting"
                                            meta:resourcekey="gvAlternateSku" Width = "1130" >
                                            <FooterStyle CssClass="GridViewFooterStyle" />
                                            <RowStyle CssClass="GridViewRowStyle" />
                                            <HeaderStyle CssClass="GridViewHeaderStyle" />
                                            <PagerStyle CssClass="GridViewPageStyle" />
                                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                            <Columns>
                                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="BoundField">
                                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                                </asp:BoundField>
                                                <asp:TemplateField meta:resourcekey="TemplateField">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvAlternateSku');"
                                                            meta:resourcekey="CheckBox1" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelect" />
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvAlternateSku');"
                                                            meta:resourcekey="CheckBox2" />
                                                    </FooterTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                    <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                </asp:TemplateField>
                                                
                                                <asp:TemplateField HeaderText="编辑" FooterText="编辑" >
                                                    <ItemTemplate>
                                                        <a href='<%# FormatReceiptUrl("AlternateSku.aspx?from={0}&ID1={1}&ID2={2}&AltSkuID={3}&type=Edit",Eval("OwnerID").ToString(),Eval("SkuID").ToString(),Eval("AltSkuID").ToString()) %>' target="_self"><img src="../Images/icon_edit.gif" class="img" style="border:none 0px blue;" alt="receipt"/></a>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_50" HorizontalAlign="Center"/>
                                                </asp:TemplateField>  
                                                
                                                <asp:BoundField DataField="OwnerID" HeaderText="货主代码" FooterText="货主代码" SortExpression="OwnerID"
                                                    meta:resourcekey="OwnerID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                                    meta:resourcekey="SkuID">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="Type" HeaderText="类型" FooterText="类型" SortExpression="Type"
                                                    meta:resourcekey="Type">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="AltSkuID" HeaderText="别名" FooterText="别名" SortExpression="AltSkuID"
                                                    meta:resourcekey="AltSkuID">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="VendorID" HeaderText="供应商代码" FooterText="供应商代码" SortExpression="VendorID"
                                                    meta:resourcekey="VendorID">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="PackID" HeaderText="包装代码" FooterText="包装代码" SortExpression="PackID"
                                                    meta:resourcekey="PackID">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="DefaultUomID" HeaderText="默认计量单位" FooterText="默认计量单位"
                                                    SortExpression="DefaultUomID" meta:resourcekey="DefaultUomID">
                                                    <ItemStyle CssClass="GridViewRowWidth_200" />
                                                </asp:BoundField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_4" style="display: none; overflow-x: auto; overflow-y: hidden;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Button ID="btnAddSubstituteSku" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnAddDetail%>"
                                                    OnClick="btnAddSubstituteSku_Click" Enabled="False" />
                                            </td>
                                            <td>
                                                <asp:Button ID="btnDeleteSubstituteSku" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDeleteDetail%>"
                                                    OnClientClick="javascript:if(confirmMsg('F2110_024')) return true; else return false;"
                                                    OnClick="btnDeleteSubstituteSku_Click" Enabled="False" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div>
                                        <asp:GridView ID="gvSubstituteSku" runat="server" AllowSorting="True" AutoGenerateColumns="False" Width="1100px"
                                            CssClass="gridview" OnRowDataBound="gvSubstituteSku_RowDataBound" DataKeyNames="OwnerID,SkuID,SubstituteSkuID"
                                            AllowPaging="True" OnPageIndexChanging="gvSubstituteSku_PageIndexChanging" OnSorting="gvSubstituteSku_Sorting"
                                            meta:resourcekey="gvSubstituteSku">
                                            <FooterStyle CssClass="GridViewFooterStyle" />
                                            <RowStyle CssClass="GridViewRowStyle" />
                                            <HeaderStyle CssClass="GridViewHeaderStyle" />
                                            <PagerStyle CssClass="GridViewPageStyle" />
                                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                            <Columns>
                                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="BoundFieldResource9">
                                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                                </asp:BoundField>
                                                <asp:TemplateField meta:resourcekey="TemplateFieldResource2">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvSubstituteSku');"
                                                            meta:resourcekey="CheckBox1Resource2" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource2" />
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvSubstituteSku');"
                                                            meta:resourcekey="CheckBox2Resource2" />
                                                    </FooterTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                    <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="明细" FooterText="明细" meta:resourcekey="TemplateFieldResource3">
                                                    <ItemTemplate>
                                                        <a href='<%# FormatSubStituteSkuUrl("SubstituteSku.aspx?type=Edit&from=list&ID={0}&ID2={1}&SUBSTITUTE_SKU_ID={2}&SeqNO={3}",Eval("OwnerID").ToString(),Eval("SkuID").ToString(),Eval("SubstituteSkuID").ToString(),Eval("SeqNo").ToString()) %>'
                                                            target="_self">
                                                            <img src="../Images/icon_edit.gif" class="img" style="border: none 0px blue;" alt="receipt" /></a>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_50" HorizontalAlign="Center" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="OwnerID" HeaderText="货主代码" FooterText="货主代码" SortExpression="OwnerID"
                                                    meta:resourcekey="OwnerID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                                    meta:resourcekey="SkuID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="PackID" HeaderText="包装代码" FooterText="包装代码" SortExpression="PackID"
                                                    meta:resourcekey="PackID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="UomID" HeaderText="单位" FooterText="单位" SortExpression="UomID"
                                                    meta:resourcekey="UomID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SubstituteSkuID" HeaderText="替代货品代码" FooterText="替代货品代码" SortExpression="SubstituteSkuID"
                                                    meta:resourcekey="SubstituteSkuID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SubPackID" HeaderText="替代包装代码" FooterText="替代包装代码" SortExpression="SubPackID"
                                                    meta:resourcekey="SubPackID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SubUom" HeaderText="替代单位" FooterText="替代单位" SortExpression="SubUom"
                                                    meta:resourcekey="SubUom">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="原数量" HeaderText="原数量" SortExpression="Qty" meta:resourcekey="SubstituteQty">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSubstituteQty" runat="server" Text='<%# GetPreferenceDigit(Eval("Qty").ToString()) %>'
                                                            ></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:TemplateField FooterText="替代数量" HeaderText="替代数量" SortExpression="SubQty" meta:resourcekey="SubstituteSubQty">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSubstituteSubQty" runat="server" Text='<%# GetPreferenceDigit(Eval("SubQty").ToString()) %>'
                                                            ></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 30px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_5" style="display: none; overflow-x: auto; overflow-y: hidden;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Button ID="btnAddPickLoc" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnAddDetail%>"
                                                    OnClick="btnAddPickLoc_Click" Enabled="False" />
                                            </td>
                                            <td>
                                                <asp:Button ID="btnDeletePickLoc" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDeleteDetail%>"
                                                    Enabled="False" AccessKey="d" OnClientClick="javascript:if(confirm('确定要删除这条记录吗?')) return true; else return false;"
                                                    OnClick="btnDeletePickLoc_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div>
                                        <asp:GridView ID="gvPickLoc" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                            CssClass="gridview" Width="1100px" OnRowDataBound="gdvPickLoc_RowDataBound" DataKeyNames="OwnerID,SkuID,Loc,Qty"
                                            AllowPaging="True" OnPageIndexChanging="gvPickLoc_PageIndexChanging" OnSorting="gvPickLoc_Sorting"
                                            meta:resourcekey="gvPickLoc">
                                            <FooterStyle CssClass="GridViewFooterStyle" />
                                            <RowStyle CssClass="GridViewRowStyle" />
                                            <HeaderStyle CssClass="GridViewHeaderStyle" />
                                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                            <Columns>
                                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="BoundField7">
                                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                                </asp:BoundField>
                                                <asp:TemplateField meta:resourcekey="TemplateFieldResource4">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvPickLoc');"
                                                            meta:resourcekey="CheckBox1Resource3" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource3" />
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvPickLoc');"
                                                            meta:resourcekey="CheckBox2Resource3" />
                                                    </FooterTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                    <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="明细" FooterText="明细" meta:resourcekey="TemplateFieldResource5">
                                                    <ItemTemplate>
                                                        <a href='<%# FormatUrl("SkuPickLoc.aspx?from=list&ID={0}&ID2={1}&ID3={2}",txtOwnerID.Text,txtSkuID.Text,Eval("Loc").ToString()) %>'
                                                            target="_self">
                                                            <img src="../Images/icon_edit.gif" class="img" style="border: none 0px blue;" alt="receipt" /></a>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_50" HorizontalAlign="Center" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="Loc" HeaderText="货位" FooterText="货位" SortExpression="Loc"
                                                    meta:resourcekey="Loc">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LocationTypeD" HeaderText="货位用途" FooterText="货位用途" SortExpression="LocationTypeD"
                                                    meta:resourcekey="LocationType">
                                                    <ItemStyle CssClass="GridViewRowWidth_200" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="QtyLocationLimit" HeaderText="容量上限" FooterText="容量上限"
                                                    SortExpression="QtyLocationLimit" meta:resourcekey="QtyLocationLimit">
                                                    <ItemStyle CssClass="GridViewRowWidth_200" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="QtyLocationMinimum" HeaderText="容量下限" FooterText="容量下限"
                                                    SortExpression="QtyLocationMinimum" meta:resourcekey="QtyLocationMinimum">
                                                    <ItemStyle CssClass="GridViewRowWidth_200" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="ReplenishmentUomD" HeaderText="最小补货单位" FooterText="最小补货单位"
                                                    SortExpression="ReplenishmentUomD" meta:resourcekey="ReplenishmentQty">
                                                    <ItemStyle CssClass="GridViewRowWidth_250" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="ReplenishmentPriority" HeaderText="补货优先级" FooterText="补货优先级"
                                                    SortExpression="ReplenishmentPriority" meta:resourcekey="ReplenishmentPriority">
                                                    <ItemStyle CssClass="GridViewRowWidth_250" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="数量" HeaderText="数量" SortExpression="Qty" meta:resourcekey="Qty">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblQty" runat="server" Text='<%# GetPreferenceDigit(Eval("Qty").ToString()) %>'
                                                            meta:resourcekey="lblQty"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:TemplateField>
                                                <asp:TemplateField FooterText="分配数量" HeaderText="分配数量" SortExpression="AllocatedQty"
                                                    meta:resourcekey="TemplateFieldResource7">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblAllocatedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("AllocatedQty").ToString()) %>'
                                                            meta:resourcekey="lblAllocatedQty"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:TemplateField>
                                                <asp:TemplateField FooterText="拣货数量" HeaderText="拣货数量" SortExpression="PickedQty"
                                                    meta:resourcekey="PickedQty">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblPickedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("PickedQty").ToString()) %>'
                                                            meta:resourcekey="lblPickedQty"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 30px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_6" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblbudf1" runat="server" CssClass="label" Text="条码01" meta:resourcekey="lblbudf1"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblbudf6" runat="server" CssClass="label" Text="条码06" meta:resourcekey="lblbudf6"></asp:Label>
                                </td>
                                <td width="180">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtbudf1" runat="server" CssClass="textbox" meta:resourcekey="txtbudf1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtbudf6" runat="server" CssClass="textbox" meta:resourcekey="txtbudf6"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblbudf2" runat="server" CssClass="label" Text="条码02" meta:resourcekey="lblbudf2"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblbudf7" runat="server" CssClass="label" Text="条码07" meta:resourcekey="lblbudf7"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtbudf2" runat="server" CssClass="textbox" meta:resourcekey="txtbudf2"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtbudf7" runat="server" CssClass="textbox"  meta:resourcekey="txtbudf7"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblbudf3" runat="server" CssClass="label" Text="条码03" meta:resourcekey="lblbudf3"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblbudf8" runat="server" CssClass="label" Text="条码08" meta:resourcekey="lblbudf8"></asp:Label>
                                </td>
                                <td width="180">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtbudf3" runat="server" CssClass="textbox" meta:resourcekey="txtbudf3"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtbudf8" runat="server" CssClass="textbox" meta:resourcekey="txtbudf8"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                    <asp:Label ID="lblbudf4" runat="server" CssClass="label" Text="条码04" meta:resourcekey="lblbudf4"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblbudf9" runat="server" CssClass="label" Text="条码09" meta:resourcekey="lblbudf9"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtbudf4" runat="server" CssClass="textbox" meta:resourcekey="txtbudf4"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtbudf9" runat="server" CssClass="textbox" meta:resourcekey="txtbudf9"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                    <asp:Label ID="lblbudf5" runat="server" CssClass="label" Text="条码05" meta:resourcekey="lblbudf5"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblbudf10" runat="server" CssClass="label" Text="条码10" meta:resourcekey="lblbudf10"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtbudf5" runat="server" CssClass="textbox" meta:resourcekey="txtbudf5"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtbudf10" runat="server" CssClass="textbox" meta:resourcekey="txtbudf10"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_7" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine1" runat="server" CssClass="label" Text="自定义01" meta:resourcekey="lblUserDefine1"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine6" runat="server" CssClass="label" Text="自定义06" meta:resourcekey="lblUserDefine6"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblRemark2" runat="server" CssClass="label" Text="备注" meta:resourcekey="lblRemark2"></asp:Label>
                                </td>
                                <td width="180">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtUserDefine1" runat="server" CssClass="textbox"
                                        meta:resourcekey="txtUserDefine1"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserDefine6" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserDefine6"></asp:TextBox>
                                </td>
                                <td colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtRemark2" runat="server" CssClass="largetextarea" 
                                        TextMode="MultiLine" meta:resourcekey="txtRemark2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine2" runat="server" CssClass="label" Text="自定义02" meta:resourcekey="lblUserDefine2"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine7" runat="server" CssClass="label" Text="自定义07" meta:resourcekey="lblUserDefine7"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtUserDefine2" runat="server" CssClass="textbox"
                                        meta:resourcekey="txtUserDefine2"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserDefine7" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserDefine7"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine3" runat="server" CssClass="label" Text="自定义03" meta:resourcekey="lblUserDefine3"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine8" runat="server" CssClass="label" Text="自定义08" meta:resourcekey="lblUserDefine8"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblRemark1" runat="server" CssClass="label" Text="拣货指令" meta:resourcekey="lblRemark1"></asp:Label>
                                </td>
                                <td width="180">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtUserDefine3" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserDefine3"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserDefine8" runat="server" CssClass="textbox"
                                        meta:resourcekey="txtUserDefine8"></asp:TextBox>
                                </td>
                                <td colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtRemark1" runat="server" CssClass="largetextarea" 
                                        TextMode="MultiLine" meta:resourcekey="txtRemark1"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                    <asp:Label ID="lblUserDefine4" runat="server" CssClass="label" Text="自定义04" meta:resourcekey="lblUserDefine4"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine9" runat="server" CssClass="label" Text="自定义09" meta:resourcekey="lblUserDefine9"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtUserDefine4" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserDefine4"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserDefine9" runat="server" CssClass="textbox"
                                        meta:resourcekey="txtUserDefine9"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                    <asp:Label ID="lblUserDefine5" runat="server" CssClass="label" Text="自定义05" meta:resourcekey="lblUserDefine5"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblUserDefine10" runat="server" CssClass="label" Text="自定义10" meta:resourcekey="lblUserDefine10"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtUserDefine5" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserDefine5"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserDefine10" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserDefine10"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <input type="hidden" id="hdnSeqNo" runat="server">
                    <input id="hdnOwnerID" runat="server" type="hidden"></input>
                    <input id="hdnSkuID" runat="server" type="hidden"></input>
                    <input id="hdnFlag" runat="server" type="hidden" value="0"></input>
                </input>
                </input> </input> </input>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnNew" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnCopy" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
    <input type="hidden" id="hdnFrom" runat="server" />
    <input type="hidden" id="hdnDataFormat" runat="server" />
    <input type="hidden" id="hdncalendarFlag" runat="server" />
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--			
			hiddenCalendarDiv();
		//-->
</script>

